<?php

namespace App\Http\Controllers\admin;

use Illuminate\Http\Request;
use DB;
use Cookie;
use Hash;
use App\Http\Controllers\Controller;
//模型
use App\Models\Role;

class ManagementController extends Controller
{
    public function getIndex(){
        $data = DB::table('nb_abutment') -> select('name','appId','secret','callback','address') -> get();
        return view('admin.management.index',['data'=>$data]);
    }
}